/*
 * system.h
 *
 *  Created on: 2017年7月5日
 *      Author: zjm
 */

#ifndef TABS_SYSTEM_H_
#define TABS_SYSTEM_H_

int get_system_arch(struct mg_connection *nc);
int get_device_code(struct mg_connection *nc);
int get_config_ip(struct mg_connection *nc);
int get_config_netmask(struct mg_connection *nc);
int get_config_gateway(struct mg_connection *nc);
int get_config_dns_primary(struct mg_connection *nc);
int get_config_dns_secondary(struct mg_connection *nc);

#define SYSTEM_PARAM_LIST	\
PARAM_ITEM(get_system_arch),\
PARAM_ITEM(get_device_code),\
PARAM_ITEM(get_config_ip),\
PARAM_ITEM(get_config_netmask),\
PARAM_ITEM(get_config_gateway),\
PARAM_ITEM(get_config_dns_primary),\
PARAM_ITEM(get_config_dns_secondary),

#define SYSTEM_ACTION_LIST

#endif /* TABS_SYSTEM_H_ */
